package org.springblade.modules.admin.vo.platform;

import lombok.Data;

import java.util.List;

/**
 * @author zcc
 * @version 1.0
 * @date 2022/5/31 14:57
 */
@Data
public class FormBuildingInfoVo  implements Comparable<FormBuildingInfoVo>{

	private Long id;

	private String name;

	private Integer weight = 0;

	private List<String> elevatorNames;

	@Override
	public int compareTo(FormBuildingInfoVo o) {
		return o.getWeight() - this.weight;
	}
}
